home *** CD-ROM | disk | FTP | other *** search
- global gMasterData
-
- on printButton
- set vSomeDone to checkActivation()
- if vSomeDone then
- getPrintData()
- print(the text of member "menu4 field")
- else
- alert("Printing is unavailable until an activity is completed.")
- end if
- end
-
- on getIslandPrinting
- set vSomeDone to checkActivation()
- if vSomeDone then
- getPrintData()
- else
- set vTempText to "No" && QUOTE & "Using Decision-Making Strategies" & QUOTE && "activities were completed." & RETURN
- fillaField(vTempText)
- end if
- end
-
- on checkActivation
- set vDone to 0
- repeat with thisArea in [#review, #plan, #eval]
- if activationOn(gMasterData, thisArea) then
- set vDone to 1
- activate(gMasterData)
- exit repeat
- end if
- end repeat
- return vDone
- end
-
- on getPrintData
- set vTempText to EMPTY
- put "Part 4:" && QUOTE & "Using Decision-Making Strategies" & QUOTE && "activities" & RETURN & "----------------------------------------------------------" & RETURN & RETURN after vTempText
- repeat with thisArea in [#review, #plan, #eval]
- if activationOn(gMasterData, thisArea) then
- set vField to string(thisArea) && "field"
- put the text of member vField after vTempText
- end if
- end repeat
- fillaField(vTempText)
- end
-
- on fillaField thisText
- set vThisField to string(the userArea of gMasterData) && "field"
- set the text of member vThisField to EMPTY
- set the text of member vThisField to thisText
- end
-